<template>
  <div class="pay-footer">
    <div class="pay-footer-left">
      <span class="pay-footer-text">
        订单总金额：
      </span>
      <span class="pay-footer-money">
        ¥1098
      </span>
    </div>
    <router-link to="paySuccess" tag="div" class="pay-footer-right">

      立即结算

    </router-link>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less">
  .pay-footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 1.2rem;
    border-top: 1px solid #eee;
    line-height: 1rem;
    background: white;
    .pay-footer-left{
      float: left;
      margin-left: .2rem;
      .pay-footer-text{
        font-size: .36rem;
      }
      .pay-footer-money{
        font-size: .36rem;
        color: red;
      }
    }
    .pay-footer-right{
      float: right;
      margin-right: 0.4rem;
      width: 3rem;
      height: 0.8rem;
      background: #2796d5;
      margin-top: 0.2rem;
      text-align: center;
      line-height: 0.8rem;
      color: white;
      font-size: 0.26rem;
      border-radius: 1rem;
    }
  }
</style>
